package com.cchr.acms.model;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.cchr.acms.controller.serializer.JsonDateSerializer;

public class CaseInfoResult {
	private int id;
	//patient
	private String patientName;
	private String city;
	//doctor
	private String doctorName;
	//falicity
	private String facilityName;
	//createtime
	private Date createTime;
	// caseInfo
	private String status;
	private String processedBy;
	private Date lastUpdateDate;
	private String lastUpdatedBy;
	private String sequence;
	
	public CaseInfoResult() {
		super();
	}
	
	
	public String getSequence() {
		return sequence;
	}


	public void setSequence(String sequence) {
		this.sequence = sequence;
	}


	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getProcessedBy() {
		return processedBy;
	}


	public void setProcessedBy(String processedBy) {
		this.processedBy = processedBy;
	}


	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}


	@DateTimeFormat(pattern="MM/dd/yyyy")  
	@JsonSerialize(using=JsonDateSerializer.class) 
	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}


	public String getLastUpdatedBy() {
		return lastUpdatedBy;
	}


	public void setLastUpdatedBy(String lastUpdatedBy) {
		this.lastUpdatedBy = lastUpdatedBy;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getPatientName() {
		return patientName;
	}
	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	@DateTimeFormat(pattern="MM/dd/yyyy")  
	@JsonSerialize(using=JsonDateSerializer.class)  
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getFacilityName() {
		return facilityName;
	}
	public void setFacilityName(String facilityName) {
		this.facilityName = facilityName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	

}
